package com.hmkj.core.service.suggestion.impl;

import com.hmkj.common.baseMapper.GenericMapper;
import com.hmkj.core.mapper.suggestion.SuggestionMapper;
import com.hmkj.core.po.suggestion.Suggestion;
import com.hmkj.core.service.suggestion.SuggestionService;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * 问题反馈业务相关Service接口实现<br>
 *
 * @author eproo
 * @ClassName: SuggestionServiceImpl
 * @date 2018-07-07 02:52:40
 */
@Service
@Scope("prototype")
@Transactional(rollbackFor = Exception.class)
public class SuggestionServiceImpl implements SuggestionService {

    @Resource
    private SuggestionMapper suggestionMapper;

    @Override
    public GenericMapper<Suggestion, Integer> _getMapper() {
        return suggestionMapper;
    }

}
